<div class="pub-body">
    <!-- 操作记录筛选 -->
    <div class="filterList">
        <el-form ref="conditionFrom" :model="conditionFrom" label-width="120px">
            <el-row :gutter="15">
                <el-col :span="6">
                    <el-form-item prop="projectId" label="项目ID">
                        <el-input style="width: 250px;" placeholder="请输入项目id" v-model="conditionFrom.projectId"></el-input>
                    </el-form-item>

                </el-col>
                <el-col :span="6">
                    <el-form-item prop="project" label="项目名称">
                        <el-input style="width: 250px;" placeholder="请输入项目名称" v-model="conditionFrom.project"></el-input>
                    </el-form-item>

                </el-col>
                <el-col :span="6"><el-button type="primary" @click="searchData">查询</el-button></el-col>
            </el-row>
        </el-form>
    </div>

    <!-- 资产列表 -->
    <div class="project">
        <el-table :data="assetData" border style="width: 100%" :header-cell-style="{background:'#eef1f6',color:'#606266'}">

            <el-table-column prop="contractNo" label="项目ID" ></el-table-column>
            <el-table-column prop="assetName" label="项目名称"></el-table-column>
            <el-table-column prop="assetType" label="项目类型" ></el-table-column>
            <el-table-column prop="assetLevel" label="项目层级" ></el-table-column>
            <el-table-column prop="statistics" label="是否列统" ></el-table-column>
            <el-table-column prop="startTime" label="计划开始时间" ></el-table-column>
            <el-table-column prop="endTime" label="计划结束时间"></el-table-column>
            <el-table-column prop="construction" label="主要参建单位" ></el-table-column>
            <el-table-column fixed="right" label="操作" width="250">
                <template slot-scope="scope">
                    <el-button @click="dialogAsset(scope.row)" type="primary" icon="el-icon-tickets" size="small">项目详情</el-button>
<!--                    <el-button @click="dialogText(scope.row)" type="success" icon="el-icon-tickets" size="small">查看文档</el-button>-->
                </template>
            </el-table-column>
        </el-table>
    </div>


     <!-- 项目信息弹窗 -->
     <el-dialog width="1000px" :title="dialogAssetAdd.title" :visible.sync="dialogAssetAdd.status">
        <el-form ref="assetAddFrom" :model="assetAddFrom" label-width="160px">
            <el-row>
                <el-col :span="12">
                    <el-form-item prop="assetName" label="项目名称">
                        <el-input :disabled="true" style="width: 300px;" placeholder="请输入项目名称" v-model="assetAddFrom.assetName"></el-input>
                    </el-form-item>
                </el-col>
                <el-col :span="12">
                    <el-form-item prop="assetType" label="项目类型">
                        <el-input :disabled="true" style="width: 300px;" placeholder="请输入项目类型" v-model="assetAddFrom.assetType"></el-input>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="12">
                    <el-form-item prop="assetLevel" label="项目层级">
                        <el-input :disabled="true"  style="width: 300px;" placeholder="项目层级" v-model="assetAddFrom.assetLevel" ></el-input>
                    </el-form-item>
                </el-col>
                <el-col :span="12">
                    <el-form-item prop="construction" label="主要参建单位">
                        <el-input :disabled="true" style="width: 300px;" placeholder="请输入主要参建单位" v-model="assetAddFrom.construction"></el-input>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="12">
                    <el-form-item prop="assetstatus" label="项目状态">
                        <el-input :disabled="true"  style="width: 300px;" placeholder="项目状态" v-model="assetAddFrom.assetstatus" ></el-input>
                    </el-form-item>
                </el-col>
                <el-col :span="12">
                    <el-form-item prop="investment" label="总投资">
                        <el-input :disabled="true" style="width: 300px;" placeholder="请输入总投资" v-model="assetAddFrom.investment"></el-input>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="12">
                    <el-form-item prop="legalUnit" label="项目法人单位">
                        <el-input :disabled="true" style="width: 300px;" placeholder="请输入项目法人单位" v-model="assetAddFrom.legalUnit"></el-input>
                    </el-form-item>
                </el-col>
                <el-col :span="12">
                    <el-form-item prop="site" label="建设地点">
                        <el-input :disabled="true" style="width: 300px;" placeholder="请输入建设地点" v-model="assetAddFrom.site"></el-input>
                    </el-form-item>
                </el-col>
            </el-row>
            <el-row>
                <el-col :span="12">
                    <el-form-item prop="plate" label="板块">
                        <el-input :disabled="true" style="width: 300px;" placeholder="请输入项目板块" v-model="assetAddFrom.plate"></el-input>
                    </el-form-item>
                </el-col>

            </el-row>
        </el-form>
    </el-dialog>

     <!-- 项目信息弹窗 -->
     <el-dialog width="50%" :title="dialogTextAdd.title" :visible.sync="dialogTextAdd.status">
        <el-row>
            <!-- 大楼 -->
            <el-col class="permissionList" :span="24">
                <el-row>
                    <el-col v-for="(item,index) in permissionList" :key="item.name" :span="12">
                        <a @click="choosePermission(index)" class="permission">
                            <img :src="item.imgUrl" >
                            <span style="display: block; margin-top: 1px;">{{item.name}}</span>
                        </a>
                    </el-col>
                </el-row>
            </el-col>
        </el-row>
         <!-- <div>
            <span>用地许可证</span>

            <img :src='imgUrl1'>

         </div>
         <div>
            <span>土地出让合同</span>

            <img :src='imgUrl2'>

         </div> -->


     </el-dialog>
</div>
